package cn.micro.system.manage.service;

import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.UnsupportedEncodingException;
import java.util.List;

public interface OssService {

    List<String> upload(MultipartFile[] files, String path);

    boolean delete(Long id);

    void download(Long id, String rename, HttpServletRequest request, HttpServletResponse response) throws UnsupportedEncodingException;

    void findView(Long id, HttpServletResponse response);
}
